module.exports = (app) => {
  const { Schema, createModel, getModelName, pre } = app.jax.mongoose
  const modelName = getModelName(__filename)

  const schema = new Schema({
    userId: Schema.Types.ObjectId, // 账号ID
    storeId: Schema.Types.ObjectId, // 服务站ID
  })

  const Model = createModel(modelName, schema)

  return Model
}
